package cn.damai.search.baseService;

import cn.damai.model.Area;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

public interface BaseAreaService {

    Area getAreaById(@RequestParam("id") Long id);

    List<Area>	getAreaListByMap(@RequestParam Map<String, Object> param);

    Integer getAreaCountByMap(@RequestParam Map<String, Object> param);

    Integer qdtxAddArea(@RequestBody Area Area);

    Integer qdtxModifyArea(@RequestBody Area Area);
}
